package com.work.work.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.work.work.dto.LoginResponse;
import com.work.work.dto.UserDTO;
import com.work.work.entity.User;

import java.util.List;

public interface UserService extends IService<User> {
    LoginResponse loginWithRole(String username, String password);
    Page<UserDTO> getUsersWithDetail(Page<User> page);
    boolean deleteUserAndRelatedData(Integer userId);
    boolean batchUpdateUserTeam(Integer teamId, List<Integer> userIds);
}